/*
 * Copyright (C) 2010-2011 Comcast Cable.  All Rights Reserved.
 */
package com.hercules.android.receiver.handlers.commands.call;

/**
 * This class is a simple bean that holds the encrypted key and encrypted object as array of bytes.
 * <p>
 * <b>Thread Safety:</b> Not thread safe since it is mutable.
 *
 * @author DanLazar, orial
 * @version 1.0
 */
public class EncryptedObject {
    /**
     * The encrypted key.
     * <p>
     * Has a setter and a getter. Can be any value.
     */
    private byte[] encryptedKey;
    /**
     * The encrypted object.
     * <p>
     * Has a setter and a getter. Can be any value.
     */
    private byte[] encryptedObject;

    /**
     * Default empty constructor.
     */
    public EncryptedObject() {
        // empty
    }

    /**
     * Gets the encrypted key.
     *
     * @return the encrypted key
     */
    public byte[] getEncryptedKey() {
        return encryptedKey;
    }

    /**
     * Gets the encrypted object.
     *
     * @return the encrypted object
     */
    public byte[] getEncryptedObject() {
        return encryptedObject;
    }

    /**
     * Sets the encrypted key.
     *
     * @param encryptedKey the encrypted key
     */
    public void setEncryptedKey(byte[] encryptedKey) {
        this.encryptedKey = encryptedKey;
    }

    /**
     * Sets the encrypted object.
     *
     * @param encryptedObject the encrypted object
     */
    public void setEncryptedObject(byte[] encryptedObject) {
        this.encryptedObject = encryptedObject;
    }

}